package org.example.cet.demos.converter;

import org.example.cet.demos.domain.form.*;
import org.example.cet.demos.domain.po.*;
import org.mapstruct.Mapper;

import java.awt.print.Paper;

@Mapper(componentModel = "spring")
public interface converter {
//
//    Homework ToHomework(HomeworkForm homeworkForm);

    Questions ToQuestions(QuestionsForm questionsForm);

    ScoreBank ToScoreBank(ScoreBankForm scoreBankForm);

    Swiper ToSwiper(SwiperForm swiperForm);

    Teacher ToTeacher(TeacherForm teacherForm);

    Classroom ToClassroom(ClassroomForm classroomForm);

    HwManage ToHwManage(HwManageForm hwManageForm);

    Student ToStudent(StudentForm studentForm);

//    Papers ToPapers(PapersForm papersForm);

//    Submission ToSubmission(SubmissionForm submissionForm);

    User ToUser(UserForm userForm);

    Audio ToAudio(AudioForm audioForm);

    Papers ToPapers(PapersForm papersForm);

//    Homework ToHomework(HomeworkForm homeworkForm);
    Homework ToHomework(HomeworkForm homeworkForm);

    Submission ToSubmission(SubmissionForm submissionForm);

}
